package com.yhthu.bean;

import java.util.Arrays;
import java.util.List;

public class Instruction {

    public static List<String> commandList = Arrays.asList("update", "donate", "delete", "query");

    private String command;
    private String parameters;

    public Instruction(String instruction, String parameters) {
        this.command = instruction;
        this.parameters = parameters;
    }

    public String getCommand() {
        return command;
    }

    public void setCommand(String command) {
        this.command = command;
    }

    public String getParameters() {
        return parameters;
    }

    public void setParameters(String parameters) {
        this.parameters = parameters;
    }
}
